package com.zys.exercise;

public class text1 {
    public static void main(String[] args) {
        student s1 =  new student();
        s1.setTeacher("fasdf");
        System.out.println(s1.getTeacher());
        student s2 =  new student();
        System.out.println(s2.getTeacher());

        s2.setTeacher("sdf");

        System.out.println(s1.getTeacher());


    }
}
